package com.atomikos1.mapper.dao1;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/31  13:18
 * 描述:
 */
@Mapper
@Repository
public interface MikosMapper1 {

    @Update("update base_stock set stock=stock-#{quantity} where id=#{id}")
    public int update1St1(Map<String,Object> map);

}
